package me.jessyan.armscomponent.app.di.component;

import com.jess.arms.di.component.AppComponent;
import com.jess.arms.di.scope.ActivityScope;

import dagger.BindsInstance;
import dagger.Component;
import me.jessyan.armscomponent.app.di.module.MineCollectionModule;
import me.jessyan.armscomponent.app.mvp.contract.mine.MineCollectionContract;
import me.jessyan.armscomponent.app.mvp.ui.activity.mine.MineCollectionActivity;


/**
 * <p>
 * Author: Taozebi
 * Date: 09/09/2021 20:16
 * Description: describe of this class
 */
@ActivityScope
@Component(modules = MineCollectionModule.class, dependencies = AppComponent.class)
public interface MineCollectionComponent {
    void inject(MineCollectionActivity activity);

    @Component.Builder
    interface Builder {
        @BindsInstance
        MineCollectionComponent.Builder view(MineCollectionContract.View view);

        MineCollectionComponent.Builder appComponent(AppComponent appComponent);

        MineCollectionComponent build();
    }
}